﻿using System;
using Newtonsoft.Json;
using System.ComponentModel.DataAnnotations.Schema;
using YiSha.Util;

namespace YiSha.Entity.YiDongYuan
{
    /// <summary>
    /// 创 建：admin
    /// 日 期：2021-06-19 14:56
    /// 描 述：检测人员所要检测的设备实体类
    /// </summary>
    [Table("detectionuserdevice")]
    public class DetectionUserDeviceEntity : BaseCreateEntity
    {
        /// <summary>
        /// 检测人员Id
        /// </summary>
        /// <returns></returns>
        [JsonConverter(typeof(StringJsonConverter))]
        public long? UserId { get; set; }
        /// <summary>
        /// 检测设备Id
        /// </summary>
        /// <returns></returns>
        [JsonConverter(typeof(StringJsonConverter))]
        public long? DeviceId { get; set; }
    }
}
